package com.wn.trade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wn.common.model.borrow.BorrowRecordDTO;
import com.wn.common.model.borrow.BorrowRecordQuery;
import com.wn.common.model.borrow.BorrowRecordVo;
import com.wn.common.utils.Pages;
import com.wn.trade.entity.BorrowRecord;

/**
 * @author yellow Docter
 * @date 2023 -07-31
 * @desc
 */
public interface IBorrowRecordService extends IService<BorrowRecord> {

    void borrow(BorrowRecordDTO borrowRecordDTO);

    Pages<BorrowRecordVo> queryBorrowRecord(Integer pageNum, Integer pageSize, BorrowRecordQuery borrowRecordQuery);

    String changeBorrowRecordStatus(Integer approveStatus, Long borrowRecordId);
    
}
